.receipt-and-payment {
  // position: absolute;
  // top: 0px;
  // bottom: 0px;
  // left: 0px;
  // right: 0px;
  // display: flex;
  // flex-direction: column;
    height: 100%;
    overflow-y: scroll;
  .function-tab {
  // height: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #eeeeee;
    .left-right {
      width: 100%;
      display: flex;
      align-items: stretch;
      flex-shrink: 0;
      .t-left {
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: 40px;
        padding-top: 20px;
        padding-bottom: 20px;
        .wanglaidanwei {
          font-size: 18px;
          font-family: simhei;
        }
        .input-container {
          flex-flow: row;
          align-items: center;
          margin-top: 10px;
          width: 100%;
          input {
            margin: 0;
          }
        }
        .check_time{
          margin-top: 15px;
          input{
            border: none;
            text-align: center;
            border-bottom: 1px solid #000;
          }
        }
        .company-input {
          margin-top: 10px;
          border: none;
          min-height: 30px;
          width: 98%;
          border-left: 5px solid #dbb5a8;
          background-color: #eeeeee;
        }
        span{
          display: inline;
        }
        .auto-complete-list {
          display: flex;
          align-content: flex-start;
          flex-wrap: wrap;
          max-height: 135px;
          margin-top: 10px;
          width: 98%;
          background-color: white;
          opacity: 1;
          overflow-x: hidden;
          overflow-y: scroll;
          & > div {
            width: 180px;
            button {
              margin-top: 1px;
              width: 170px;
              height: 25px;
              border: none;
              &:hover {
                color: white;
                background-color: grey;
              }
            }
            button.add-new-cstmr {
              background-color: $subthemeColor;
              color: white;
            }
          }
        }
        .zongdaishoujine {
          margin-top: 10px;
        }
        .shoukuanjine {
          margin-top: 10px;
        }
        .pay {
          margin-top: 5px;
          display: flex;
          // justify-content:space-between;
          align-items: center;
          flex-wrap: wrap;
          & > div {
            margin-top: 5px;
            margin-right: 30px;
            display: flex;
            align-items: center;
            //width: 190px;
            span {
              font-size: 0.9em;
            }
            input {
              margin: 0 10px;
              width: 90px;
            }
            input:disabled {
              border: none;
              box-shadow: none;
            }
            .jieyu {
              width: 57px;
            }
            .yuan {
              margin-left: 2px;
            }
          }
          .link {
            width: 20px;
            justify-content: center;
          }

          .total-money-container {
            span {
              flex-shrink: 0;
              color: #ee7258;
            }
            .total-money {
              margin: 0 10px;
            }
          }

          .actual-container {
            .actual {
              margin: 0 10px;
            }
          }
        }
        .remark {
          margin-top: 20px;
          width: 100%;
          resize: vertical;
        }
      }
      //end of t-left
      .t-right {
        margin-left: 10px;
        min-width: 280px;
      }
    }
    // end of left-right
    // 订单列表
    .order-list-table {
      margin-top: 10px;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      overflow: hidden;
      // border:1px solid red;
      .table-head {
        display: flex;
        justify-content: space-between;
        height: 30px;
        flex-shrink: 0;
        align-items: center;
        background-color: white;

        span {
          width: 64px;
          flex-grow: 1;
          text-align: center;
        }
      }
      .table-body {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex-grow: 1;
        overflow-y: scroll;
        margin-right: -17px;
        .table-line {
          margin-top: 1px;
          display: flex;
          justify-content: space-between;
          height: 30px;
          flex-shrink: 0;
          align-items: center;
          background-color: white;
          span {
            width: 64px;
            flex-grow: 1;
            text-align: center;
            input {
              width: 80px;
            }
            button {
              background-color: white;
              border: 1px solid grey;
              &:hover {
                background-color: #eeeeee;
              }
              &:active {
                background-color: darken(#eeeeee, 10%);
              }
            }
          }
        }
      }
    }
    // end of table

    .line-final {
      margin-top: 10px;
      display: flex;
      justify-content: center;
      // flex-shrink: 0;
    }
    .page-navi{
      height: 35px;
    }
    .table {
      div {
        span {
          width: 13%;
        }
        .money {
          width: 12%;
          input {
            width: 100%;
          }
        }
        .sn {
          width: 5%;
        }
        .time {
          width: 13%;
        }
      }
    }
  }
  // end of function-tab
}
